﻿using System;
using System.Text;
using System.Data.SqlClient;
using System.Collections.Generic;
using System.Data;
using Bangle.DBUtility;
namespace Bangle.DAL
{
    //T_Phone
    public partial class T_PhoneDAL
    {

        /// <summary>
        /// 删除一条数据
        /// </summary>
        public int Delete(string strWhere)
        {
            strWhere = (strWhere.Trim() == "" ? "1=1" : strWhere);
            StringBuilder strSql = new StringBuilder();
            strSql.Append("delete from T_Phone ");
            strSql.Append(" where " + strWhere);

            int rows = DbHelperSQL.ExecuteSql(strSql.ToString());
            return rows;
        }


    }
}

